.first {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    margin-left: -1px;
}

.end {

    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    margin-right: -1px;
}

.center {
    border-radius: 0;
}
.first.selected,
.center.selected,
.end.selected {
    border: 1px solid #1677FF;
    color: #1677FF;
}